/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: DcmDsdType.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: DCMDSD
*
* Revision:
* --------------------------------------------------------------------------------
* v0.1: 
* --Yueting.Ben, 2024-03-12 
* --Initial release

**********************************************************************************/
#ifndef DCMDSDTYPE_H
#define DCMDSDTYPE_H

/** HEADER FILES **/
#include "DcmType.h"
#include "DcmDspSvc10.h"
#include "DcmDspSvc27.h"


/** MACRO DEFINITION **/


/** TYPEDEF DEFINITION **/
typedef struct
{
    uint8 subId;
    DcmDspSessionType subServiceSessionLevel;
    DcmDspSecurityType subServiceSecurityLevel;
    uint8 minLen;
    uint8 maxLen;
    Dcm_ProcessorFncType processor;
}Dcm_SubSvcCfgType;


typedef struct
{
    uint8 sid;
    DcmDspSessionType sidTabSessionLevel;
    DcmDspSecurityType sidTabSecurityLevel;
    uint8 subFuncSupported;
    uint8 subFuncMaxIndex;
    Dcm_SubSvcCfgType* subSvcCfgPtr; 
    Dcm_ProcessorFncType processor;
}Dcm_SvcCfgType;


#endif

